package com.xhb.campusservices.mapper;

import com.xhb.campusservices.pojo.orderDto.OrderManagement;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderManagementMapper {
    /**
     * 我的跑腿小哥(进行中)
     * @return
     */
    List<OrderManagement>  orderManagementList(Long userId);

    /**
     * 我的跑腿小哥(已完成)
     * @return
     */
    List<OrderManagement>  completeL(Long userId);

    /**
     * 我的雇主(进行中)
     * @return
     */
    List<OrderManagement>  orderMList(Long userId);

    /**
     * 我的雇主(已完成)
     * @param userId
     * @return
     */
    List<OrderManagement>  completeList(Long userId);
}
